package com.jwsoft.manager.core.dao.mapper;

import com.jwsoft.manager.common.vo.eduStudentEnroll.StudentFormVO;
import com.jwsoft.manager.common.vo.eduStudentEnrollKindergarten.KindergartenCompareVO;
import com.jwsoft.manager.core.dao.model.EduStudentEnrollKindergarten;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jwsoft.manager.core.dao.model.EduhStudentEnrollKindergarten;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* <p>
  * 表单提交明细表 Mapper 接口
  * </p>
*
* @author chenzh
* @since 2023-02-10
*/
@Mapper
public interface EduStudentEnrollKindergartenMapper extends BaseMapper<EduStudentEnrollKindergarten> {
    List<StudentFormVO> getMyNurseryInfo(String idcard);

    Long queryMaxApplyId(String formId);
    List<EduStudentEnrollKindergarten> queryDelByIdcard(@Param("idcard") String idcard, @Param("schoolId")String schoolId, @Param("areaCode")String areaCode);
    List<KindergartenCompareVO> getNurseryHouseCompareData(KindergartenCompareVO vo);
    List<KindergartenCompareVO> getNurseryHouseHoldCompareData(KindergartenCompareVO vo);


    Integer selectCountByYear(@Param("year") Integer year);

    List<EduStudentEnrollKindergarten> selectByYear(@Param("year") Integer year, @Param("pageSize") Integer pageSize);

    Integer deleteByTaskHistory(@Param("taskDetailId") String taskDetailId);

    Integer selectEncryptionCountByYear(@Param("year") Integer year, @Param("taskDetailId") String taskDetailId);

    List<EduhStudentEnrollKindergarten> selectEncryptionByYear(@Param("year") Integer year, @Param("taskDetailId") String taskDetailId, @Param("pageSize") Integer pageSize);
}
